/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.amuthu.indicator;

import org.amuthu.DataStore;

/**
 *
 * @author prabhu
 */
public class StochK extends StochasticIndicator
{
   public StochK(DataStore dataStore, int kFastPeriod, int kSlowPeriod, int dSlowPeriod, int startOffset)
   {
      super(dataStore, kFastPeriod,kSlowPeriod,dSlowPeriod,startOffset);
   }

   @Override
   public double calculate()
   {
      doCalculate();
      return getKvalue();
   }

}
